package com.clear.honghefinance.biz.modules.assist_calculate_summary.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

/**
 * 修改部门辅助核算DTO
 */
@Getter
@Setter
public class UpdateAssistCalculateDepartmentDTO extends UpdateAssistCalculateBaseDTO implements Serializable {

    /**
     * 负者人
     */
    @ApiModelProperty(value = "负责人")
    private String manager;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机")
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式有误")
    private String phone;

    /**
     * 成立日期
     */
    @ApiModelProperty(value = "成立日期")
    private Date startDate;

    /**
     * 撤销日期
     */
    @ApiModelProperty(value = "撤销日期")
    private Date revokeDate;

}
